package com.test2;

public class test1 {
	public static void main(String[] args) {

		String[] greeting =new String[3];
		greeting[0] ="Welcome to Core java";
        greeting[1] ="by CY hortmann";
        greeting[2] ="and Gary Cornel";
        for (String g:greeting)
         System.out.println(g);
	}

}
